
package com.zhku.laosiji.service;

import com.zhku.laosiji.pojo.Orders;
import com.zhku.laosiji.vo.OrderVo;
import com.zhku.laosiji.vo.OrdersVO;

import java.util.List;

/**
 * @author Jiayuan
 * @version 1.0
 * @description:
 * @time 9/11/2018 2:57 PM
 */
public interface OrderService {
    List<OrderVo> findAll(Integer userId);
    Orders selectByOrderCode(String code);
    Integer finish(Orders orders);
    int insert(Orders order);
    Integer deleteByCode(String code);

	
	List<OrdersVO> selectAllOrder();
	
	Integer countTotalOrder();
	
    int deleteByPrimaryKey(Integer id);

}
